package com.zhangshuo;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.*;

/**
 * Created by Administrator on 2017/5/24 0024.
 */
@Configuration
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class})
@ComponentScan
//@SpringBootApplication
public class Application {

    public static void main(String[] args){
        SpringApplication sa = new SpringApplication(Application.class);
        sa.setBannerMode(Banner.Mode.CONSOLE);
        sa.run(args);
    }
}
